package com.iwomy.secureplat.platform.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.iwomy.secureplat.common.core.util.R;
import com.iwomy.secureplat.platform.dto.BasicPlaceBuildingDTO;
import com.iwomy.secureplat.platform.entity.BasicPlaceBuildingEntity;
import com.iwomy.secureplat.platform.vo.BasicPlaceBuildingVO;

import java.util.List;

public interface BasicPlaceBuildingService extends IService<BasicPlaceBuildingEntity> {

	Page<BasicPlaceBuildingVO> getBasicPlaceBuildingPage(Page page, BasicPlaceBuildingDTO basicPlaceBuildingDTO);

	BasicPlaceBuildingVO getById(Long id);

	R newlyAdded(BasicPlaceBuildingEntity basicPlaceBuilding);

	List<BasicPlaceBuildingEntity> pageByScope(BasicPlaceBuildingEntity basicPlaceBuilding);
}